package com.promis.crypto.digest;

public class MD5Digest extends BaseDigest {

	private final static String DIGEST_ALGORITHM = "MD5";
	
	private static MD5Digest digest;
	
	public MD5Digest() {
		super(DIGEST_ALGORITHM);
	}
	
	public synchronized static MD5Digest getInstance() {
		if (digest == null) {
			digest = new MD5Digest();
		}
		return digest;
	}
}
